<template name="tabBar">
	<view>
		<view class="u-page">
			<!-- 所有内容的容器 -->
		</view>
		<!-- 与包裹页面所有内容的元素u-page同级，且在它的下方 -->
		<u-tabbar v-model="current" :list="list" :mid-button="false"></u-tabbar>
	</view>
</template>

<script>
	export default {
		name:"tabBar",
		data() {
			return {
				list: [{
						iconPath: "../../../static/image/index/index.png",
						selectedIconPath: "../../../static/image/index/index2.png",
						text: '首页',
						pagePath:'/pages/index/index'
					},
					{
						iconPath: "../../../static/image/index/Inventory.png",
						selectedIconPath: "../../../static/image/index/Inventory2.png",
						text: '库存管理',
						pagePath:'/pages/Inventory/index'
					},
					{
						iconPath: "../../../static/image/index/order.png",
						selectedIconPath: "../../../static/image/index/order2.png",
						text: '订单管理',
						midButton: true,
						customIcon: false,
						pagePath:'/pages/order/index'
					},
					{
						iconPath: "../../../static/image/index/evaluate.png",
						selectedIconPath: "../../../static/image/index/evaluate2.png",
						text: '评价管理',
						pagePath:'/pages/evaluate/index'
					},
					{
						iconPath: "../../../static/image/index/me.png",
						selectedIconPath: "../../../static/image/index/me2.png",
						text: '我',
						pagePath:'/pages/me/index'
					},
				],
				current: 0
			}
			},
			props:{
				
			},
			methods:{
			}
	}
</script>

<style scoped>

</style>
